.PHONY:all
all:udpserver.exe udpclient.exe

udpserver.exe:main.cc
	g++ -o $@ $^ -std=c++11 
udpclient.exe:Udpclient.cc
	g++ -o $@ $^ -std=c++11 -lpthread

.PHONY:clean
clean:
	rm -f udpserver.exe udpclient.exe; 